package com.jyh.demo.homework;

import java.util.Arrays;

public class Test10 {
    public static void main(String[] args) {
    String abc="342567891";
    char[] arr=abc.toCharArray();
        Arrays.sort(arr);
        abc = new String(arr);
        System.out.println(abc);
    }
}
